<#-- 计算出需要导入的import -->
<#assign primaryKeyType = columns?filter(column -> column.primary)?first.javaType>
package ${packageName}.domain;

import org.springframework.data.repository.ListCrudRepository;
import org.springframework.data.repository.ListPagingAndSortingRepository;
import org.springframework.data.repository.NoRepositoryBean;

@NoRepositoryBean
public interface ${className}Repository extends ListPagingAndSortingRepository<${className}, ${primaryKeyType}> , ListCrudRepository<${className}, ${primaryKeyType}> {
}
